package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.GoalDao;
import com.kaishengit.entity.Goal;
import com.kaishengit.entity.UserProject;
import com.kaishengit.util.DateUtil;
import com.kaishengit.util.PkUtil;

public class GoalService {
	GoalDao goaldao=new GoalDao();
	public List<Goal> findByProjectId(String ProjectId){
		return goaldao.findByProjectId(ProjectId);
	} 
	public void save(Goal goal){
		goaldao.save(goal);
		
	}
	public Goal findById(String goalId) {
		return goaldao.findById(goalId);
		
	}
	public void del(String goalid){
		
		goaldao.del(goalid);
	}
}
